﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DFGK_WMS.Model.Models
{
    /// <summary>
    /// 供货商
    /// </summary>
    [Table("T_Supplier")]
    public class Supplier:BaseEntity
    {
        /// <summary>
        /// 供应商编码
        /// </summary>
        [MaxLength(30)]
        public string Code { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        [MaxLength(30)]
        public string Name { get; set; }
        /// <summary>
        /// 分类Id:对应字典项Id
        /// </summary>
        public long? TypeId { get; set; }
        /// <summary>
        /// 分类名称：对应字典项名称
        /// </summary>
        [MaxLength(30)]
        public string TypeName { get; set; }
        /// <summary>
        /// 供应商地址
        /// </summary>
        [MaxLength(50)]
        public string AddrDetail { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        [MaxLength(30)]
        public string Contact { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        [MaxLength(30)]
        public string ContactMobile { get; set; }
        /// <summary>
        /// 联系人1
        /// </summary>
        [MaxLength(30)]
        public string Contact1 { get; set; }
        /// <summary>
        /// 联系人1电话
        /// </summary>
        [MaxLength(30)]
        public string Contact1Mobile { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        [MaxLength(30)]
        public string Email { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [MaxLength(30)]
        public string Remark { get; set; }
        /// <summary>
        /// 排序号
        /// </summary>
        public int DisplayOrder { get; set; }
    }
}
